package com.wealth.scsj.p_app.view.activity.novicetraining;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.wealth.scsj.p_app.R;
import com.wealth.scsj.p_app.view.activity.BaseActivity;

/**
 * 新手学习完成页面
 * @author qxp
 */
public class NoticeTrainingFinishPageActivity extends BaseActivity implements View.OnClickListener {

    private TextView mToolbarTitle;
    private ImageView mToolbarTitleLeft;
    /**
     * 开始接单
     */
    private Button mStartWorkBtn;

    @Override
    protected void createView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_notice_training_finish_page);
    }

    @Override
    protected void initView() {

        mToolbarTitle = findViewById(R.id.toolbar_title);
        mToolbarTitleLeft =  findViewById(R.id.toolbar_title_left);
        mStartWorkBtn =  findViewById(R.id.start_work_btn);

    }

    @Override
    protected void initListener() {
        mToolbarTitleLeft.setOnClickListener(this);
        mStartWorkBtn.setOnClickListener(this);
    }

    @Override
    protected void initData() {
        mToolbarTitle.setText("完成");
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.toolbar_title_left:
                finish();
                break;
            case R.id.start_work_btn:

                break;
        }
    }
}
